StoreEngine\Integrations\MembershipAddon S

Total Complexity 49
Dependencies 8
Dependents 1
Total lines 242
Lines of code 185
Logical lines of code 96
Comment lines 6
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
is_available_membership()
S
57 6 19
change_enrollment_form()
S
59 5 14
purchase_created()
S
54 4 22
generate_enrollment_form()
S
69 4 6
get_course_integrations()
S
59 3 14
get_items()
S
54 2 23
is_purchased_membership()
S
67 3 8
modify_course_type()
S
66 3 8
get_only_membership_integrations()
S
66 3 9
get_post_id()
S
70 2 6
stop_from_redirecting()
S
72 2 6
is_enrolled()
S
70 2 6
get_id()
S
82 1 3
get_item()
S
82 1 3
get_enrollment_template()
S
65 1 9
load_enrolled_template()
S
69 1 7
get_items_label()
S
79 1 3
enabled()
S
80 1 3
course_type()
S
79 1 3
get_logo()
S
79 1 3
get_label()
S
79 1 3
__construct()
S
67 1 7